Release 10.1A: OpenEdge Development:
Progress 4GL Reference
SHOW-STATS statement
Writes procedure call statistics to the
proc.monoutput file if you specify the Statistics with Cross-Reference (-yx) parameter. It also writes procedure access and usage statistics to theclient.monoutput file if you specify the Statistics (-y) parameter, Statistics with CTRL+C (-yc) parameter, Segment Statistics (-yd) parameter, or Statistics with Cross-Reference (-yx) parameter. If you specify Segment Statistics (-yd), it also displays statistics for each code segment.Ordinarily, when you specify these startup parameters, Progress writes the statistics to the output files at the end of your OpenEdge session. This might not be what you want. For example, if you start Progress using the
-yor-ycparameters, you might want to view the execution buffer statistics as they occur during your OpenEdge session. With SHOW-STATS, you can force Progress to write the statistics at a specific time, instead of at session end. For more information on these startup parameters, see OpenEdge Deployment: Startup Command and Parameter Reference .The SHOW-STATS statement also writes the value of the STARTUP-PARAMETERS attribute to the
client.monoutput file.Syntax
CLEARResets all counters and timers that Progress uses to monitor the procedure call, procedure access, and usage statistics.
ExampleThis procedure runs the Data Dictionary and writes the procedure call, procedure access, and usage statistics to the
proc.monandclient.monoutput files:
Notes
- If you use the SHOW-STATS statement without specifying the Statistics (y) parameter, Progress opens the
client.monfile as if you were dynamically specifying -y. However, the first SHOW-STATS statement that you use does not send any statistics to theclient.monfile; it only opens the file. All subsequent SHOW-STATS statements, however, send procedure access and usage statistics to the file. But since you did not specify -y at startup, Progress does not write any startup parameter statistics to theclient.monfile.- You must specify the Statistics with Cross-Reference (-yx) parameter, if you want the SHOW-STATS statement to write procedure call statistics to the
proc.monfile.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |